namespace Sckf.MicroService.Services.Catalog.Domain.Repositories;

public interface ICatalogRepository
{
    Task AddAsync(Entities.Catalog catalog);

    Task UpdateAsync(Domain.Entities.Catalog catalog);

    Task DeleteAsync(long catalogId);

    Task<Entities.Catalog> SingleAsync(long catalogId);

    IQueryable<Entities.Catalog> Query(Expression<Func<Entities.Catalog, bool>> predicate);
}
